Part Number Hot Search : 
LPS128 AD524S CEM830 AFB0912M Q7012LH5 15000 4752A SBL10
Product Description
Full Text Search
 

To Download GG25L Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  this is information on a product in full production. february 2014 docid025995 rev 1 1/28 GG25L gas gauge ic with alarm output datasheet - production data features ? optimgauge tm algorithm ? 0.25% accuracy battery voltage monitoring ? coulomb counter and voltage-mode gas gauge operations ? robust initial open-c ircuit-voltage (ocv) measurement at power up with debounce delay ? low battery level alarm output with programmable thresholds ? internal temperature sensor ? battery swap detection ? low power: 45 a in power-saving mode, 2 a max in standby mode ? 1.4 x 2.0 mm 10-bump csp package applications ? wearable ? fitness and healthcare ? portable medical equipment description the GG25L includes the hardware functions required to implement a low-cost gas gauge for battery monitoring. the GG25L uses current sensing, coulomb counting and accurate measurements of the battery voltage to estimate the state-of-charge (soc) of the battery. an internal temperature sensor simplifies implementation of temperature compensation. an alarm output signals a low soc condition and can also indicate low battery voltage. the alarm threshold levels are programmable. the GG25L offers advanc ed features to ensure high performance gas gauging in all application conditions. csp (1.4 x 2.0 mm) table 1. device summary order code temperature range package packing marking GG25Lj (1) -40 c to +85 c csp-12 tape and reel o22 GG25Laj (2) o23 1. 4.35 v battery option 2. 4.20 v battery option www.st.com
contents GG25L 2/28 docid025995 rev 1 contents 1 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2 pin assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 3 absolute maximum ratings and operating c onditions . . . . . . . . . . . . . 4 4 electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 5 application information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 6 functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 6.1 battery monitoring functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 6.1.1 operating modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 6.1.2 battery voltage monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 6.1.3 internal temperature monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 6.1.4 current sensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 6.2 GG25L gas gauge architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 6.2.1 coulomb counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 6.2.2 voltage gas gauge algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 6.2.3 mixed mode gas gauge system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 6.3 low battery alarm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 6.4 power-up and battery swap detection . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 6.5 improving accuracy of the initial ocv measurement with ? the advanced functions of batd/cd and rstio pins . . . . . . . . . . . . . . . 17 6.5.1 batd and rstio pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 7 i2c interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 7.1 read and write operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 7.2 register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 7.2.1 register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 7.2.2 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 8 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 9 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
docid025995 rev 1 3/28 GG25L block diagram 28 1 block diagram figure 1. GG25L internal block diagram $06b9 9&& %$7'&' 567,2%$7' $/0 6&/ 6'$ 9,1 &* %dwwhu\ghwhfwlrq dqgfrqwuro +] wlphedvh 2vfloodwru $'frqyhuwhu 08; &* &* 5$0dqg,'uhjlvwhuv 9 uhihuhqfh 7hpshudwxuh vhqvru &rqwuroorjlf vwdwhpdfklqh dqg &rqwuro uhjlvwhuv ,&  lqwhuidfh *1'
pin assignment GG25L 4/28 docid025995 rev 1 2 pin assignment 3 absolute maximum ratings and operating conditions table 2. GG25L pin description pin n csp bump pin name type (1) 1. i = input, 0 = output, od = open drain, a = analog, d = digital, nc = not connected function 1 a1 alm i/od alarm signal output, open drain, ? external pull-up with resistor 2 b1 sda i/od i2c serial data 3 c1 scl i_d i2c serial clock 4 d1 gnd ground analog and digital ground 5d2 nc -nc 6 d3 cg i_a current sensing input 7 c3 rstio i/od reset sense input & reset control output (open drain) 8 b2 batd/cd i/oa battery charge inhibit (active high output) ? battery detection (input) 9 b3 vcc supply power supply 10 a3 vin i_a battery voltage sensing input table 3. absolute maximum ratings symbol parameter value unit v ccmax maximum voltage on v cc pin 6 v v io voltage on i/o pins -0.3 to 6 t stg storage temperature -55 to 150 c t j maximum junction temperature 150 esd electrostatic discharge (hbm: human body model) 2 kv table 4. operating conditions symbol parameter value unit v cc operating supply voltage on v cc 2.7 to 4.5 v v min minimum voltage on v cc for ram content retention 2.0 t oper operating free air temperature range -40 to 85 c t perf -20 to 70
docid025995 rev 1 5/28 GG25L electrical characteristics 28 4 electrical characteristics table 5. electrical characteristics (2.7 v < v cc < 4.5 v, -20 ?? c to 70 ?? c) symbol parameter conditions min typ max units supply i cc operating current consumption average value over 4 s in power-saving voltage mode 45 60 a average value over 4 s in mixed mode 100 i stby current consumption in standby standby mode, ? inputs = 0 v 2 i pdn current consumption in power-down v cc < uvlo th , ? inputs = 0 v 1 uvlo th undervoltage threshold (v cc decreasing) 2.5 2.6 2.7 v uvlo hyst undervoltage threshold hysteresis 100 mv por power-on reset threshold (v cc decreasing) 2.0 v current sensing vin_gg input voltage range -40 +40 mv i in input current for cg pin 500 na adc_res ad converter granularity 5.88 v adc_offset ad converter offset cg = 0 v -3 3 lsb adc_time ad conversion time 500 ms adc_acc ad converter gain accuracy at full scale (using external sense resistor) 25 c 0.5 % over temperature range 1 f osc internal time base frequency 32768 hz osc_acc internal time base accuracy 25 c, v cc = 3.6 v 2 % over temperature and voltage ranges 2.5 cur_res current register lsb value 5.88 v
electrical characteristics GG25L 6/28 docid025995 rev 1 battery voltage and temperature measurement vin_adc input voltage range v cc = 4.5 v 0 4.5 v lsb lsb value voltage measurement 2.20 mv temperature measurement 1 c adc_time ad conversion time 250 ms volt_acc battery voltage measurement accuracy 2.7 v < vin < 4.5 v, ? v cc = vin 25 c -0.25 +0.25 % over temperature range -0.5 +0.5 temp_acc internal temperature sensor accuracy -3 3 c digital i/o pins (scl , sda, alm, rstio) vih input logic high 1.2 v vil input logic low 0.35 vol output logic low (sda, alm, rstio) iol = 4 ma 0.4 batd/cd pin vith input threshold voltage 1.46 1.61 1.76 v vihyst input voltage hysteresis 0.1 voh output logic high ? (charge inhibit mode enable) ioh = 3 ma vbat- 0.4 table 5. electrical characteristics (2.7 v < v cc < 4.5 v, -20 ?? c to 70 ?? c) (continued) symbol parameter conditions min typ max units
docid025995 rev 1 7/28 GG25L electrical characteristics 28 figure 2. i2c timing diagram table 6. i2c timing - v io = 2.8 v, t amb = -20 c to 70 ? c (unless otherwise specified) symbol parameter min typ max unit f scl scl clock frequency 0 - 400 khz t hd,sta hold time (repeated) start condition 0.6 s t low low period of the scl clock 1.3 t high high period of the scl clock 0.6 t su,dat setup time for repeated start condition 0.6 t hd,dat data hold time 0 0.9 t su,dat data setup time 100 ns t r rise time of both sda and scl signals 20+ 0.1c b 300 ns t f fall time of both sda and scl signals 20+ 0.1c b 300 ns t su,sto setup time for stop condition 0.6 s t buf bus free time between a stop and ? start condition 1.3 s c b capacitive load for each bus line 400 pf 6'$ w i 6&/ w orz 9 lo w kgvwd w u w kggdw w vxgdw w kljk w vxvwd 9 lk *$3060'
application information GG25L 8/28 docid025995 rev 1 5 application information figure 3. example of an application schematic using the GG25L in mixed mode figure 4. example of an application schematic using the GG25L without current sensing table 7. external component list name value tolerance comments rcg 5 to 50 m ? 1% to 5% current sense resistor (2% or better recommended) c1 1 f supply decoupling capacitor c2 220 nf battery voltage input filter (optional) r1 1 k ? battery voltage input filter (optional) r2 1 k ? battery detection function io voltage optional filter gnd battery pack other detection circuit rcg rid c1 r1 GG25L r2 scl sda alm rstio vcc vin batd/cd cg c2 io voltage optional filter gnd battery pack other detection circuit rid c1 r1 GG25L r2 c2 scl sda alm rstio vcc vin batd/cd cg
docid025995 rev 1 9/28 GG25L application information 28 table 8. external component list name value comments c1 1 f supply decoupling capacitor c2 220 nf battery voltage input filter (optional) r1 1 k ? r2 1 k ? battery detection function
functional description GG25L 10/28 docid025995 rev 1 6 functional description 6.1 battery monitoring functions 6.1.1 operating modes the monitoring functions incl ude the measurement of battery voltage, current, and temperature. a coulomb counter is available to track the soc when the battery is charging or discharging at a high rate. a sigma-delta a/d converter is used to measure the voltage, current, and temperature. the GG25L can operate in two different modes with different power consumption (see table 9 . mode selection is made by the vmode bit in register 0 (refer to table 14 for register 0 definition). in mixed mode, current is measured continuou sly (except for a conversion cycle every 4 s and every 16 s seconds for measuring voltage and temperature respectively). this provides the highest accuracy from the gas gauge. in voltage mode with no current sensing, a voltage conversion is made every 4 s and a temperature conversion every 16 s. this mode provides the lowest power consumption. it is possible to switch between the two operati ng modes to get the best accuracy during active periods, and to save power during st andby periods while still keeping track of the soc information. 6.1.2 battery voltage monitoring battery voltage is measured by using one c onversion cycle of the a/d converter every 4 s. the conversion cycle takes 2 13 = 8192 clock cycles. using the 32768 hz internal clock, the conversion cycle time is 250 ms. the voltage range is 0 to 4.5 v and resolution is 2.20 mv. accuracy of the voltage measurement is 0.5% over the temperature r ange. this allows accu rate soc information from the battery open-circuit voltage. the result is stored in the reg_voltage register (see table 13 ). table 9. GG25L operating modes vmode description 0 mixed mode, coulomb counter is active , voltage gas gauge runs in parallel 1 voltage gas gauge with power saving coulomb counter is not us ed. no current sensing.
docid025995 rev 1 11/28 GG25L functional description 28 6.1.3 internal temperature monitoring the chip temperature (close to the battery te mperature) is measured using one conversion cycle of the a/d converter every 16 s. the conversion cycle takes 2 13 = 8192 clock cycles. using the 32768 hz internal clock, the conversion cycle time is 250 ms. resolution is 1 c and range is -40 to +125 c. the result is stored in the reg_temperature register (see table 13 ). 6.1.4 current sensing voltage drop across the sense resistor is inte grated during a conversion period and input to the 14-bit sigma-delta a/d converter. using the 32768 hz internal clock, the conversion cycle time is 500 ms for a 14-bit resolution. the lsb value is 5.88 v. the a/d converter output is in two?s complement format. when a conversion cycle is completed, the result is added to the coulomb counter accumulator and the number of conversions is incremented in a 16-bit counter. the current register is updated only after the conversion closest to the voltage conversion (that is: once per 4-s measurement cycle). the result is stored in the reg_current register (see table 13 ).
functional description GG25L 12/28 docid025995 rev 1 6.2 GG25L gas gauge architecture 6.2.1 coulomb counter the coulomb counter is used to track the soc of the battery when the battery is charging or discharging at a high rate. each current co nversion result is accumulated (coulomb counting) for the calculation of the relative soc value based on the configuration register. the system controller can control the coulomb counter and set and read the soc register through the i2c control registers. figure 5. coulomb counter block diagram the reg_cc_cnf value depends on battery capa city and the current sense resistor. it scales the charge integrated by the sigma delta converter into a percentage value of the battery capacity. the default value is 395 (corresponding to a 10 m ? sense resistor and 1957 mah battery capacity). the coulomb counter is inactive if the vmode bi t is set, this is the default state at power- on-reset (por) or reset (vmode bit = 1). writing a value to the register reg_soc (mixed mode soc) forces the coulomb counter gas gauge algorithm to restart from this new soc value. reg_cc_cnf register is a 16-bit integer value and is calculated as shown in equation 1 : equation 1 rsense is in m ? and cnom is in mah. example: rsense =10 m ? , cnom = 1650 mah, reg_cc_cnf = 333 cc soc register (internal) reg_current register register reg_counter 16-bit counter reg_cc_cnf register cc soc calculator ad converter eoc cg gnd reg_cc_cnf rsense cnom ? 49.556 ? =
docid025995 rev 1 13/28 GG25L functional description 28 6.2.2 voltage gas gauge algorithm no current sensing is needed for the voltage gas gauge. an internal algorithm precisely simulates the dynamic behavior of the battery and provides an estimation of the ocv. the battery soc is related to the ocv by means of a high-precision reference ocv curve built into the GG25L. any change in battery voltage causes the algorithm to track both the ocv and soc values, taking into account the non-linear characteristi cs and time constants related to the chemical nature of the li-ion and li-po batteries. a single parameter fits the algorithm to a specific battery. the default value provides good results for most battery chemistries used in hand-held applications. figure 6. voltage gas gauge block diagram voltage gas gauge algorithm registers the reg_vm_cnf configuration register is used to configure the parameter used by the algorithm based on battery characte ristic. the default value is 321. the reg_ocv register holds the estimated ocv value corresponding to the present battery state. the reg_ocvtab registers are used to adjust the internal ocv table to a given battery type. the reg_vm_cnf register is a 12-bit integer value and is calculated from the averaged internal resistance and nominal capacity of the battery as shown in equation 2 : equation 2 ri is in m ? and cnom is in mah. example: ri = 190 m ? , cnom =1650 mah, reg_vm_cnf = 321 voltage mode algorithm ocv adjustment registers voltage register vm configuration to s o c management ocv value (vm) reference ocv curve ad converter vin reg_vm_cnf ri cnom ? 977.78 ? =
functional description GG25L 14/28 docid025995 rev 1 6.2.3 mixed mode gas gauge system the GG25L provides a mixed mode gas gau ge using both a coulomb counter (cc) and a voltage-mode (vm) algorithm to track the soc of the battery in all conditions with optimum accuracy. the GG25L directly provides the soc information. the coulomb counter is mainly used when the battery is charging or discharging at a high rate. each current conversion result is accu mulated (coulomb counting) for the calculation of the relative soc value based on a configuration register. the voltage-mode algorithm is used when the application is in low power consumption state. the GG25L automatically uses the best me thod in any given application condition. however, when the application enters standby mode, the GG25L can be put in power- saving mode: only the voltage-mode gas gauge stays active, the coulomb counter is stopped and power consumption is reduced. figure 7. mixed mode gas gauge block diagram the combination of the cc and vm algorithm s provides optimum accuracy under all application conditions. the voltage gas gauge cancels any long-term errors and prevents the soc drift problem that is commonly found in coulomb counter only solutions. furthermore, the results of the two algorithm s are continuously compared and adjustment factors are calculated. this enables the application to track the cc and vm algorithm parameters for long-term accuracy, automatically compensating for battery aging, application condition changes, and temperature ef fects. five registers are dedicated to this monitoring: ? reg_cc_adj and reg_vm_adj are continuously updated. they are signed, 16-bit, user-adjusted registers with lsb = 1/512 %. ? acc_cc_adj and acc_vm_adj are updated only when a method switch occurs. they are signed, 16-bit user adjusted accumulators with lsb = 1/512% ? rst_acc_cc_adj and rst_acc_vm_adj bits in the reg_mode register are used to clear the associated counter. voltage mode (vm) reg_soc register alarm management parameter tracking coulomb counter reg_vm_adj register reg_cc_adj register gas gauge (cc) soc management
docid025995 rev 1 15/28 GG25L functional description 28 6.3 low battery alarm the alm pin provides an alarm signal in case of a low battery condition. the output is an open drain and an external pull-up resistor is needed in the application. writing the io0data bit to 0 forces the alm output low; writing the io0data bit to 1 lets the alm output reflect the battery condition. reading the io0data bit gives the state of the alm pin. when the io0data bit is 1, the alm pin is driv en low if either of the following two conditions is met: ? the battery soc estimation from the mixed algorithm is less than the programmed threshold (if the alarm function is enabled by the alm_ena bit). ? the battery voltage is less than the programmed low voltage level (if the alm_ena bit is set). when a low-voltage or low-soc condition is triggered, the GG25L drives the alm pin low and sets the alm_volt or alm_soc bit in reg_ctrl. the alm pin remains low (even if the conditions disappear) until the software writes the alm_volt and alm_soc bits to 0 to clear the interrupt. clearing the alm_volt or al m_soc while the co rresponding low-vo ltage or low-soc condition is still in progress does not generate another inte rrupt; this condition must disappear first and must be detected again befor e another interrupt (alm pin driven low) is generated for this alarm. another alarm cond ition, if not yet trigger ed, can still generate an interrupt. usually, the low-soc alarm occurs first to warn the application of a low battery condition, then if no action is taken and the battery discharges further, the low-voltage alarm signals a nearly-empty battery condition. at power-up, or when the GG25L is reset, the soc and voltage alarms are enabled (alm_ena bit = 1). the alm pin is high-impedance directly after por and is driven low if the soc and/or the voltage is below the default thresholds (1% soc, 3.00 v voltage), after the first ocv measurement and soc estimation. the reg_soc_alm register holds the relative so c alarm level in 0.5 % units (0 to 100 %). default value is 2 (i.e. 1% soc). the reg_alarm_voltage holds the low voltage threshold and can be programmed over the full scale voltage range with 17.60 (2.20 * 8) mv steps. the default value is 170 (3.00 v).
functional description GG25L 16/28 docid025995 rev 1 6.4 power-up and ba ttery swap detection when the GG25L is powered up at first battery insertion, an automatic battery voltage measurement cycle is made immediately after startup and debounce delay. this feature enables the system controller to get the soc of a newly inserted battery based on the ocv measured just before the system actually starts. figure 8. timing diagram at power-up a battery swap is detected when the battery voltage drops below the undervoltage lockout (uvlo) for more than 1 s. the GG25L restarts when the voltage goes back above uvlo, in the same way as for a power-up sequence. such filtering provides robust battery swap dete ction and prevents restarting in case of short voltage drops. this feature protects the application against high surge currents at low temperatures. figure 9. restart in case of battery swap example: when batd/cd is high (voltage above the 1.61 v threshold) for more than 1 s, a battery swap is detected. the GG25L restarts when the batd/cd level returns below the threshold, in the same way as for a power-up sequence. using the 1-s filter prevents false battery swap detection if short contact bouncing occurs at the battery terminals due to mechanical vibrations or shocks. vcc uvlo short uvlo event < 1s no restart, no operation interuption <1s long battery disconnection events > 1s GG25L restarts >1s por gams2502141520sg
docid025995 rev 1 17/28 GG25L functional description 28 6.5 improving accuracy of the in itial ocv measurement with the advanced functions of batd/cd and rstio pins the advanced functions of the batd/cd and rs tio pins provide a way to ensure that the ocv measurement at power-up is not affected by the application startup or by the charger operation. this occurs as follows: ? the batd/cd pin is driven high to v cc voltage which inhibits the charge function (assuming that the batd/cd signal is connect ed to disable input of the charger circuit). ? the rstio pin senses the system reset state and if the system reset is active (that is rstio is low), the rstio is kept low until the end of the ocv measurement. figure 10 describes the batd/cd and rstio operati on at power-up. please refer to the block diagram of figure 11 for the rsti, rsto, batd_comp_out, and batd_drive_high signals. at the end of the ocv measurement, the batd/cd and rstio pin are released (high impedance), the application can start and the charger is enabled. figure 10. batd and rstio timing diagram at power-up 6.5.1 batd and rstio pins the GG25L provides platform synchronization signals to provide reliable soc information in different cases. the batd/cd pin senses the presence of the battery independently of the battery voltage and it controls the battery charger to inhibit the charge during the initial ocv measurement. the rstio pin can be used to delay the platfo rm startup during the first ocv measurement at battery insertion. vcc uvlo batd_comp_out rsti por voltage measurement 1.61v delay rst0 voltage register soc register batd_drive_high ocv meas. application can start, charge is enabled soc calc.
functional description GG25L 18/28 docid025995 rev 1 figure 11. batd and rstio the batd/cd pin used as a battery detector is an analog i/o.the input detection threshold is typically 1.61 v. batd/cd is also an output connected to v cc level when active. ot herwise, it is high impedance. the rstio signal is used to control the ap plication system reset during the initial ocv measurement. the rstio pin is a standard i/o pin with open drain output. batd/cd can be connected to the ntc sensor or to the identification resistor of the battery pack. the GG25L does not provide any biasing vo ltage or current for the battery detection. an external pull-up resistor or another device has to pull the batd/cd pin high when the battery is removed. figure 12. batd/cd pin connection when used as battery detector batd/cd rstio vcc batd_drive_high batd_comp_out rsti rsto 1.61 v + - GG25L GG25L other biasing and/or detection circuit battery pack batd/cd rid batd biasing by external circuitry batd resistor biasing battery pack rid ru (>1 m) 1k 1k batd/cd
docid025995 rev 1 19/28 GG25L i2c interface 28 7 i2c interface 7.1 read and write operations the i2c interface is used to control and read the current accumulator and registers. it is compatible with th e philips i2c bus? (version 2.1). it is a slave se rial interface with a serial data line (sda) and a serial clock line (scl). ? scl: input clock used to shift data ? sda: input/output bidirectional data transfers a filter rejects the potential spikes on the bus data line to preserve data integrity. the bidirectional data line supports transfers up to 400 kbit/s (fast mode). the data are shifted to and from the chip on the sda line, msb first. the first bit must be high (start) followed by the 7-bit device address and the read/write control bit. bits devaddr0 to devaddr2 are factory-programmable, the default device address value being 1110 000 (addrid0 = addrid1 = addrid2 = 0). the GG25L then sends an acknowledge at the end of an 8-bit long s equence. the next eight bits correspond to the register address followed by another acknowledge. the data field is the last 8-bit long sequence sent, followed by a last acknowledge. table 10. device address format bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 1110deva ddr2 devaddr1 devaddr0 r/w table 11. register address format bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 regaddr7 regaddr6 regaddr5 regaddr4 regaddr3 regaddr2 regaddr1 regaddr0 table 12. register data format bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 data7 data6 data5 data4 data3 data2 data1 data0
i2c interface GG25L 20/28 docid025995 rev 1 figure 13. read operation figure 14. write operation 6wduw 'hylfhdggu 5hjdgguhvv elwv $ 5hvwduw 'hylfhdggu $ 5hjgdwd elwv $ 5hjgdwd elwv $ 5hjgdwd elwv $ $gguhvv q 6wduwelw 6'$idoolqjzkhq6&/  elwv elwv 6wrs $ : 6wrselw 6'$ulvlqjzkhq6&/  5hvwduwelw vwduwdiwhudvwduw 0dvwhu 6odyh $fnqrzohgjh 6'$irufhgorzgxulqjd6&/forfn 5 $gguhvv q *$3060' 6wduw 'hylfhdggu 5hjdgguhvv elwv $ 5hjgdwd $ 5hjgdwd elwv $ 5hjgdwd elwv $ $gguhvv q 6wduwelw 6'$idoolqjzkhq6&/  elwv elwv 6wrs $ : 6wrselw 6'$ulvlqjzkhq6&/  5hvwduwelw vwduwdiwhudvwduw $gguhvv q *$3060'
docid025995 rev 1 21/28 GG25L i2c interface 28 7.2 register map 7.2.1 register map the register space provides 28 control regist ers, 1 read-only register for device id, 16 read/write ram working registers reserved for the gas gauge algorithm, and 16 ocv adjustment registers. mapping of all registers is shown in table 13 . detailed descriptions of registers 0 (reg_mode) and 1 (reg_ctrl) are shown in table 14 and table 15 . all registers are reset to default values at power-on or reset, and the pordet bit in register reg_ctrl is used to indicate the occurrence of a power-on reset. table 13. register map name address (decimal) type por soft por description lsb control registers 0 to 23 reg_mode 0 r/w mode register reg_ctrl 1 r/w control and status register reg_soc 2-3 r/w gas gauge relative soc 1/512% reg_counter 4-5 r 0x00 0x00 number of conversions ? (2 bytes) reg_current 6-7 r 0x00 0x00 battery current value ? (2 bytes) 5.88 v reg_voltage 8-9 r 0x00 0x00 battery voltage value ? (2 bytes) 2.2 mv reg_temperature 10 r 0x00 0x00 temperature data 1 c reg_cc_adj_high 11 r/w 0x00 0x00 coulomb counter adjustment factor 1/2% reg_vm_adj_high 12 r/w 0x00 0x00 voltage mode adjustment factor reg_ocv 13-14 r/w 0x00 0x00 ocv register (2 bytes) 0.55 mv reg_cc_cnf 15-16 r/w 395 395 coulomb counter gas gauge configuration reg_vm_cnf 17-18 r/w 321 321 voltage gas gauge algorithm parameter reg_alarm_soc 19 r/w 0x02 0x02 soc alarm level ? (default = 1%) 1/2% reg_alarm_voltage 20 r/w 0xaa 0xaa battery low voltage alarm level (default is 3 v) 17.6 mv reg_current_thres 21 r/w 0x0a 0x0a current threshold for the relaxation counter 47.04 v reg_relax_count 22 r 0x78 0x78 relaxation counter reg_relax_max 23 r/w 0x78 0x78 relaxation counter max value reg_id 24 r 0x14 0x14 part type id = 14h
i2c interface GG25L 22/28 docid025995 rev 1 reg_cc_adj_low 25 r/w 0x00 0x00 coulomb counter adjustment factor 1/512% reg_vm_adj_low 26 r/w 0x00 0x00 voltage mode adjustment factor acc_cc_adj 27-28 r/w 0x00 0x00 coulomb counter correction accumulator acc_vm_adj 29-30 r/w 0x00 0x00 voltage mode correction accumulator ram registers 32 to 47 reg_ram0 32 r/w random unchanged working register 0 for gas gauge ... ... ... reg_ram15 47 r/w random unchanged working register 15 for gas gauge ocv adjustment registers reg_ocvtab 48 to 63 r/w 0x00 0x00 ocv adjustment table ? (16 registers) 0.55 mv table 13. register map (continued) name address (decimal) type por soft por description lsb
docid025995 rev 1 23/28 GG25L i2c interface 28 7.2.2 register description values held in consecutive registers (such as the charge value in the reg_soc register pair) are stored with high bits in the first register and low bits in the second register. the registers must be read with a single i2c access to ensure data integrity. it is possible to read multiple values in on e i2c access. all values must be consistent. the soc data are coded in binary format and the lsb of the low byte is 1/512 %. the battery current is coded in 2?s complement format and the lsb value is 5.88 v. the battery voltage is coded in 2?s complement format and the lsb value is 2.20 mv. the temperature is coded in 2?s complement format and the lsb value is 1c. table 14. reg_mode - address 0 name position type def. description vmode 0 r/w 1 0: mixed mode (coulomb counter active) ? 1: power saving voltage mode clr_vm_adj 1 r/w 0 write 1 to clear acc_vm_adj and reg_vm_adj. ? auto clear bit if gg_run = 1 clr_cc_adj 2 r/w 0 write 1 to clear acc_cc_adj and reg_cc_adj ? auto clear bit if gg_run = 1 alm_ena 3 r/w 1 alarm function ? 0: disabled ? 1: enabled gg_run 4 r/w 0 0: standby mode. accumulator and counter registers are frozen, gas gauge and battery monitor functions are in standby. ? 1: operating mode. force_cc 5 r/w 0 forces the mixed mode relaxation timer to switch to the coulomb counter mode. ? write 1, self clear to 0 ? relaxation counter = 0 force_vm 6 r/w 0 forces the mixed mode relaxation timer to switch to voltage gas gauge mode. ? write 1, self clear to 0 ? relaxation counter = relax_max 7 unused
i2c interface GG25L 24/28 docid025995 rev 1 table 15. reg_ctrl - address 1 name position type def. description io0data 0 rx alm pin status ? 0 = alm input is low ? 1 = alm input is high w1 alm pin output drive ? 0 = alm is forced low ? 1 = alm is driven by the alarm conditions gg_rst 1 w 0 0: no effect ? 1: resets the conversion counter ? gg_rst is a self-clearing bit. gg_vm 2 r 0 voltage mode active ? 0 = reg_soc from coulomb counter mode ? 1 = reg_soc from voltage mode batfail 3 r/w 0 battery removal or uvlo detection bit. ? write 0 to clear ? (write 1 is ignored) pordet 4 r1 power on reset (por) detection bit ? 0 = no por event occurred ? 1 = por event occurred w0 soft reset ? 0 = release the soft-reset and clear the por detection bit, ? 1 = assert the soft-reset and set the por detection bit. ? this bit is self clearing. alm_soc 5 r/w 0 set with a low-soc condition. ? cleared by writing 0. alm_volt 6 r/w 0 set with a low-voltage condition. ? cleared by writing 0. 7 unused
docid025995 rev 1 25/28 GG25L package information 28 8 package information in order to meet environmental requirements, st offers these devices in different grades of ecopack ? packages, depending on their level of environmental compliance. ecopack ? specifications, grade definitions a nd product status are available at: www.st.com . ecopack ? is an st trademark. figure 15. flip chip csp 1.40 x 2.04 mm package mechanical drawing 1. the terminal a1 on the bump side is i dentified by a distinguishing feature - for instance, by a circular ?clear area? typically 0.1 mm in di ameter and/or a missing bump. 2. the terminal a1, on the back side, is identified by a distinguishing feature - for instance, by a circular ?clear ' $vhhqrwh i' i( h h ( $ %rwwrpylhz    '& %$ ?e & fff & ' $ $ ( * &63bbrswlrq+b9 7rsylhz
package information GG25L 26/28 docid025995 rev 1 area? typically 0.2 mm in diameter depending on the die size. figure 16. flip chip csp 1.4 x 2.04 mm footprint recommendation table 16. flip chip csp 1.4 x 2.04 mm package mechanical data symbol dimensions millimeters inches min. typ. max. min. typ. max. a 0.545 0.600 0.655 0.021 0.024 0.026 a1 0.165 0.200 0.235 0.006 0.008 0.009 a2 0.330 0.350 0.370 0.013 0.014 0.015 b 0.220 0.260 0.300 0.009 0.010 0.012 d 1.98 2.01 2.04 0.078 0.079 0.080 d1 1.20 0.047 e 1.34 1.37 1.40 0.053 0.054 0.055 e1 0.800 0.031 e 0.360 0.400 0.440 0.014 0.016 0.017 fd 0.395 0.405 0.415 0.016 0.016 0.016 fe 0.275 0.285 0.295 0.011 0.011 0.012 g 0.050 0.002 ccc 0.050 0.002
docid025995 rev 1 27/28 GG25L revision history 28 9 revision history table 17. document revision history date revision changes 28-feb-2014 1 initial release
GG25L 28/28 docid025995 rev 1 ? please read carefully: information in this document is provided solely in connection with st products. stmicroelectronics nv and its subsidiaries (?st ?) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described he rein at any time, without notice. all st products are sold pursuant to st?s terms and conditions of sale. purchasers are solely responsible for the choice, selection and use of the st products and services described herein, and st as sumes no liability whatsoever relating to the choice, selection or use of the st products and services described herein. no license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. i f any part of this document refers to any third party products or services it shall not be deemed a license grant by st for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoev er of such third party products or services or any intellectual property contained therein. unless otherwise set forth in st?s terms and conditions of sale st disclaims any express or implied warranty with respect to the use and/or sale of st products including without limitation implied warranties of merchantability, fitness for a parti cular purpose (and their equivalents under the laws of any jurisdiction), or infringement of any patent, copyright or other intellectual property right. st products are not designed or authorized for use in: (a) safety critical applications such as life supporting, active implanted devices or systems wi th product functional safety requirements; (b) aeronautic applications; (c) automotive applications or environments, and/or (d) aerospace applications or environments. where st products are not designed for such use, the purchaser shall use products at purchaser?s sole risk, even if st has been informed in writing of such usage, unless a product is expressly designated by st as being intended for ?automotive, automotive safety or medical? industry domains according to st product design specifications. products formally escc, qml or jan qualified are deemed suitable for use in aerospace by the corresponding governmental agency. resale of st products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by st for the st product or service described herein and shall not create or extend in any manner whatsoev er, any liability of st. st and the st logo are trademarks or registered trademarks of st in various countries. information in this document supersedes and replaces all information previously supplied. the st logo is a registered trademark of stmicroelectronics. all other names are the property of their respective owners. ? 2014 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - belgium - brazil - canada - china - czech republic - finland - france - germany - hong kong - india - israel - ital y - japan - malaysia - malta - morocco - philippines - singapore - spain - sweden - switzerland - united kingdom - united states of america www.st.com


▲Up To Search▲   

 
Price & Availability of GG25L

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X